import 'package:flutter/material.dart';

class ContainerCase extends StatelessWidget {
  const ContainerCase({Key? key}) : super(key: key);

  @override
  Widget build(BuildContext context) {
    return Container(
      width: 300,
      height: 300,
      alignment: Alignment.bottomRight,
      decoration: BoxDecoration(
          //border: Border.(color: Colors.black87, width: 20),
          border: Border.all(color: Colors.black87, width: 20),
          color: Colors.yellow,
          borderRadius: BorderRadius.circular(20)),
      // 不给就撑满父组件
      child: Text("测试"),
      padding: EdgeInsets.only(right: 30, top: 30, bottom: 30),
      margin: EdgeInsets.all(20),

      // EdgeInsets.all() 所有边
    );
  }
}

// Column().padding().margin().borderRadius()
